﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UnitDay.aspx.cs" Inherits="SaleInfo_UnitDay" %>

<!DOCTYPE html> 
<html> 
	<head runat="server"> 
	    <meta charset="utf-8">
	    <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>延安联通数据中心</title> 
        <link href="../Content/jquery.mobile-1.2.0.min.css" rel="stylesheet" type="text/css" />
        <script src="../Scripts/jquery-1.6.4.min.js" type="text/javascript"></script>
        <script src="../Scripts/jquery.mobile-1.2.0.min.js" type="text/javascript"></script>
        <link href="../Content/Default.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript">
            $.mobile.ajaxEnabled = false;
        </script>
    </head> 
<body> 
    <form id="form1" runat="server">
    <!-- start page -->
    <div data-role="page">

	<!-- start header -->
	<div data-role="header" data-theme="c" data-position="inline" data-backbtn="false">
        <a href="../desktop.aspx" data-icon="home">桌面</a>
		<h1>UDC</h1>
        <a href="../default.aspx" data-icon="forward">退出</a>
	</div>
	<!-- end header -->

	<!-- start content -->
	<div data-role="content">	
        <asp:ListView runat="server" ID="UnitDaySales">
            <LayoutTemplate>
                <ul data-role="listview" data-inset="true">
                    <asp:PlaceHolder runat="server" ID="itemPlaceholder"></asp:PlaceHolder>
                </ul>
            </LayoutTemplate>
            <ItemTemplate>
                <li>
                    <a href='<%# "NewSale.aspx?sid=" + Eval("sid") + "&did=" + DID %>'>
                    <h3><%# Eval("serviceId") %></h3>
                    <p><strong><%# Eval("isnew") %>&nbsp;|&nbsp;<%# Eval("isContract") %></strong></p>
				    <p style="padding:6px 0"><%# Eval("SaleDesc") %></p>
                    <p class="ui-li-aside"><strong><%# Eval("DvName") %></strong></p>
                    </a>
                </li>
            </ItemTemplate>
        </asp:ListView>
		<div data-role="popup" id="purchase" data-theme="c" data-overlay-theme="c" class="ui-content" style="max-width:340px;">
			<h3>请确认是否已将当天销量统计完毕?</h3>
			<a href="UnitDay.aspx?msg=completed" data-role="button" data-theme="c" data-icon="check" data-inline="true" data-mini="true">确认</a>
			<a href="#" data-role="button" data-rel="back" data-inline="true" data-icon="back" data-mini="true">取消</a>	
		</div>
	</div>
	<!-- end content -->

	<!-- start footer -->
	<div data-role="footer" data-theme="c" class="ui-bar" runat="server" id="divfooter" data-position="fixed">
        <a href="NewSale.aspx" data-transition="flip" data-icon="plus" rel="external">继续添加</a>
        <a href="#purchase" data-rel="popup" data-position-to="window" data-transition="pop" data-icon="grid" id="counted">统计完毕(<asp:Label runat="server" Text="" CssClass="ui-li-count" ID="saleCount"></asp:Label>)</a>
	</div>
	<!-- end footer -->

	
    </div>
    <!-- end page -->

    </form>
</body>
</html>
